package io.renren.modules.quickService.service;

import com.baomidou.mybatisplus.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.quickService.entity.UserExtraEntity;
import io.renren.modules.quickService.vo.OrderTakerVO;

import java.util.List;
import java.util.Map;

/**
 * 用户基本信息
 *
 * @author zenger380
 * @email zenger380@163.com
 * @date 2018-09-26 15:53:08
 */
public interface UserExtraService extends IService<UserExtraEntity> {

    PageUtils queryPage(Map<String, Object> params);

    UserExtraEntity queryUserExtraByMobile(String mobile);

    UserExtraEntity queryUserExtraByID(String ID);

    /**
     * 审核
     * @param userExtraEntity 用户基本信息
     */
    void  audit(UserExtraEntity userExtraEntity);

    /**
     * 根据行政区划获取用户列表
     * @param adminCode
     * @return
     */
    List<OrderTakerVO> takerList(String adminCode);
}

